home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Programmer Power Tools
/
Programmer Power Tools.iso
/
network
/
netio.doc
< prev
Wrap
Text File
|
1986-01-19
|
2KB
|
64 lines
Documentation for NETIO.ASM, MONITOR.ASM
MONITOR.ASM, used in conjunction with the device driver NETIO.ASM
will allow DOS console I/O calls to be transmitted across an IBM
PCNet local area network. NETIO.ASM should be assembled with the
macro assembler and linked to create NETIO.SYS, and the line:
DEVICE=NETIO.SYS
should be added to the AUTOEXEC.BAT file of the server. After
booting the server, do a CTTY NETIO to pass console control to the
NETIO driver. At this point, MONITOR.EXE can be run on another
machine on the network and a session established.
To terminate the session, type a CTRL-A. MONITOR will
respond with a NET> prompt. If another CTRL-A is typed, a single
CTRL-A will be send to the server--receipt of any other character
will terminate the program, and NETIO will wait for another network
CALL.
It is important to realize that this program will only work
if the application running on the server uses the standard DOS
console I/O calls. Most applications programs available today,
however, prefer to use direct BIOS ROM calls or non-console function
calls (don't ask me why, the speed difference shouldn't be all that
noticeable).
Here's what I mean--the following are patches to MS-KERMIT so
that it can be run on the server:
To MSKERMIT.INI>> set heath19 off
To MSYIBM.ASM
>>
chkinp: mov dl,0ffh
mov ah,06h
int dos
jz lp
cmp al,chesc
je quit
call outprt
jmp chkinp
>>
<<
chkinp: mov ah,1
int kb
jz lp ; nothing available...
xor ah,ah
int kb ; get the char from the buffer
push ax ; save character temporarily
call gss ; get shift state into al
mov bl,al ; save shift state
pop ax
cmp al,esc_ch ; escape character?
je quit ; yes, stop here
call trnout ; translate if nec., output to prt
jmp chkinp ; and keep going
<<
If you have any problems, questions, or comments, send mail to
DESILVA @ NBS-VMS.ARPA. None of this stuff has been extensively tested,
so use it at your own risk.